﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("Goods", "Goods", new string[] { "GOODSID" })]
    [KnownType(typeof(GoodsStock))]
    public class GoodsStock
    {
        public GoodsStock()
        {
        }

        private int _GOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSID", System.Data.DbType.Int32)]
        public int GOODSID
        {
            get { return _GOODSID; }
            set { _GOODSID = value; }
        }

        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }

        private decimal _GOODSINV;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSINV", System.Data.DbType.Decimal)]
        public decimal GOODSINV
        {
            get { return _GOODSINV; }
            set { _GOODSINV = value; }
        }
    }
}
